
package com.heimali.happyreader.core.bean;

import android.text.TextUtils;

public class Article {
    public int id;
    public String title;
    public String content;
    public String sourceUrl;

    public Article() {

    }

    public Article(int id, String sourceUrl, String title, String content) {
        this.id = id;
        this.sourceUrl = TextUtils.isEmpty(sourceUrl) ? "" : sourceUrl;
        this.title = TextUtils.isEmpty(title) ? "" : title;
        this.content = TextUtils.isEmpty(content) ? "" : content;
    }
}
